package test;

import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import java.util.TreeSet;

/**
 *
 * @author Admin
 */
public class Signature {

    public Integer[] sequence;
    public Set<Integer> result;

    public Signature() {
    }

    public Signature(Integer[] sequence, Set<Integer> result) {
        this.sequence = sequence;
        this.result = result;
    }

    public Signature(Integer[] signature, Integer... values) {
        this.sequence = signature;
        Set<Integer> set = new TreeSet<Integer>();
        set.addAll(Arrays.asList(values));
        this.result = set;
    }
}
